package com.jianqiao.delivery.delivery.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jianqiao.delivery.delivery.domain.TrajectoryEntity;
import com.jianqiao.delivery.delivery.mapper.TrajectoryMapper;
import com.jianqiao.delivery.delivery.service.TrajectoryService;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * author: cyx
 * create: 2024/9/6 14:26
 **/
@Service
public class TrajectoryServiceImpl extends ServiceImpl<TrajectoryMapper, TrajectoryEntity> implements TrajectoryService {

    @Autowired
    private TrajectoryMapper trajectoryMapper;

    @Override
    public List<TrajectoryEntity> listTrajectory(String  orderNumber) {
        List<TrajectoryEntity> trajectoryList = trajectoryMapper.listTrajectory(orderNumber);
        return trajectoryList;
    }
}
